/*
 * @Author: moeWang
 * @Date: 2022-03-02 16:55:28
 * @LastEditTime: 2022-03-03 14:32:24
 * @LastEditors: moeWang
 * @Description:
 * @FilePath: \nest-web\src\logical\auth\tokenInfo.model.ts
 */

import { ApiPropertyOptional } from '@nestjs/swagger';

export class TokenInfoModel {
  @ApiPropertyOptional({ description: 'accountId' })
  public accountId: string;

  @ApiPropertyOptional({ description: '账号名' })
  public account: string;

  @ApiPropertyOptional({ description: '用户名' })
  public username: string;
  @ApiPropertyOptional({ description: '级别' })
  public level: string;
  @ApiPropertyOptional({ description: '所属机构id' })
  public orgId: string;
  @ApiPropertyOptional({ description: '所属机构名称' })
  public orgName: string;
  @ApiPropertyOptional({ description: '用户所属机构级别' })
  public orgType: string;
  @ApiPropertyOptional({ description: '角色Id' })
  public roleIds: Array<number>;
}
